package com.reading.core.manager.system.impl;

import com.reading.common.entity.system.UserEventLog;
import com.reading.common.persistence.system.UserEventLogMapper;
import com.reading.core.manager.system.IUserEventLogManager;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 后台玩家事件日志管理
 */
@Service
public class UserEventLogManagerImpl implements IUserEventLogManager {

    @Resource
    private UserEventLogMapper userEventLogMapper;

    @Override
    public boolean save(UserEventLog record) {
        return userEventLogMapper.insert(record) > 0;
    }
}
